// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ViewUI from 'view-design';
import config from './const/config';
import mixin from './mixin/mixin';
import store from '@/store/store'
import 'view-design/dist/styles/iview.css';

Vue.prototype.$config = config;
Vue.config.productionTip = false
Vue.mixin(mixin)
Vue.use(router);
Vue.use(ViewUI);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
